export class Utils {
  public nowDate: string;

  constructor(nowDate: string) {
    this.nowDate = nowDate;
  }
  public getNowDate(): string {
    const date = new Date();
    const currentDate =
      date.getFullYear() +
      '-' +
      (date.getMonth() + 1) +
      '-' +
      date.getDate() +
      ' ' +
      date.getHours() +
      ':' +
      date.getMinutes() +
      ':' +
      date.getSeconds();
    return currentDate;
  }
}
